// Copyright (C) Microsoft Corporation. All rights reserved.

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;


namespace Microsoft.DDSolutions.TfsAdmin
{
    public partial class UserChangeLog : Form
    {
        private DataSet ds;
        private string dataMember;
        

        public UserChangeLog()
        {
            InitializeComponent();
        }

        private void UserChangeLog_Load(object sender, EventArgs e)
        {
            
            this.userChangeLogGridView.DataSource = ds;
            this.userChangeLogGridView.DataMember = dataMember;
            this.btnOk.Text = MainResources.strOk;
            this.Text = MainResources.strUserChangeLog;
            
        }

        /// <summary>
        ///  DataSource Property
        /// </summary>
        public DataSet DataSource
        {

            get
            {
                return ds;
            }

            set
            {
                ds = value;
                this.userChangeLogGridView.DataSource = ds;
            }
        }

        /// <summary>
        ///   Set the DataMember for the Failed User Edits dataGridView
        /// </summary>
        public String DataMember
        {
            get
            {
                return dataMember;
            }

            set
            {
                dataMember = value;
                this.userChangeLogGridView.DataMember = dataMember;
            }
        }
    }
}